/*
========================================================================
 Name        : ExportContactsExportingContainerView.h
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef EXPORTCONTACTSEXPORTINGCONTAINERVIEW_H
#define EXPORTCONTACTSEXPORTINGCONTAINERVIEW_H

#include <aknview.h>
 
class CExportContactsExportingContainer;
class ContactEngine;					
			
class CExportContactsExportingContainerView : public CAknView
{ 
public:	 
	CExportContactsExportingContainerView();
	static CExportContactsExportingContainerView* NewL();
	static CExportContactsExportingContainerView* NewLC();        
	void ConstructL();
	virtual ~CExportContactsExportingContainerView();
	
public:	 
	TUid Id() const;
	void HandleCommandL( TInt aCommand ); 
	CExportContactsExportingContainer* CreateContainerL();
	
public:
	void SetContactEngine(ContactEngine* aContactEngine); 
	void SetExportFile(const TDesC& aExportFile);
	
public:
	void ExportingNotify(const TInt aCurrentCount,const TInt aWholeCount);
	
protected:	 
	void DoActivateL( const TVwsViewId& aPrevViewId,
					  TUid aCustomMessageId,
					  const TDesC8& aCustomMessage );
	void DoDeactivate();
	void HandleStatusPaneSizeChange();	
	 
private:
	void SetupStatusPaneL();
	void CleanupStatusPane();
	
private:		 
	CExportContactsExportingContainer* iExportContactsExportingContainer;
	ContactEngine*					   iContactEngine;							//Not owned	
};
#endif
 
